﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="SharingCenter.Web.Account.Login"
    MasterPageFile="~/Shared/Site.Master" %>

<asp:Content ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    用户登录</asp:Content>
<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" ID="ContentPlaceHolder1"
    runat="server">
    <div class="ctn-box-w">
        <div style="width: 400px;" class="ctn-box">
            <h1 class="w5">
                <asp:Image Width="20" ID="Image1" runat="server" ImageUrl="~/Content/images/icons/login.png" />
                登录</h1>
            <%--<myuc:MessageBox runat="server" MessageType="Generic" Text="如果您在本站已拥有帐号，请使用已有的帐号信息直接进行登录即可，不需重复注册。" />--%>
            <div id="login-area">
                <asp:Login Width="100%" ID="Login1" runat="server" PasswordLabelText="密码：" RememberMeText="下次自动登录"
                    TitleText="" UserNameLabelText="E-mail：">
                    <LayoutTemplate>
                        <div id="formarea" class="regvalgroup">
                            <asp:Panel runat="server" CssClass="fc" DefaultButton="btnLogin">
                                <div class="ctn2">
                                    <asp:UpdatePanel ID="UpdatePanel12" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional">
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="btnLogin" />
                                        </Triggers>
                                        <ContentTemplate>
                                            <myuc:MessageBox Visible="false" runat="server" MessageType="Error" ID="msgLoginError" />
                                            <table cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td>E-mail: </td>
                                                    <td>&nbsp;<asp:TextBox ID="UserName" runat="server" TabIndex="1"></asp:TextBox></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2" style="height:.5em;"></td>
                                                </tr>
                                                <tr>
                                                    <td>登录密码: </td>
                                                    <td>&nbsp;<asp:TextBox ID="Password" runat="server" TextMode="Password" TabIndex="2"></asp:TextBox></td>
                                                </tr>
                                            </table>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                                <div class="ctn2">
                                    <div class="editor-field">
                                        <h3 class="w7">
                                            输入验证码</h3>
                                        <myuc:ValidationCode ValidationGroup="Login1" runat="server" ID="ValidationCode1" TabIndex="3"></myuc:ValidationCode>
                                    </div>
                                </div>
                                <div class="ctn3">
                                                <asp:CheckBox ID="RememberMe" runat="server" Text="记住我" />
                                            </div>
                                <div class="ctn2">
                                    <div>
                                        <asp:LinkButton ID="btnLogin" CssClass="button" runat="server" CommandName="Login"
                                            Text="登 录" ValidationGroup="Login1" OnClick="Button1_Click" CausesValidation="true" />
                                        <asp:HyperLink runat="server" NavigateUrl="~/Account/ResetPassword.aspx" CssClass="button">忘记密码</asp:HyperLink>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </LayoutTemplate>
                </asp:Login>
            </div>
        </div>
    </div>
</asp:Content>
